<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head></h:head>
<h:body>
	<h:form>
		<h:panelGrid columns="2" border="0">
			<p:outputLabel value="R.I.B." />
			<p:outputLabel value="#{newOperationFormulaireController.client.rib}" />
			<p:outputLabel value="Nom" />
			<p:outputLabel value="#{newOperationFormulaireController.client.nom}" />
			<p:outputLabel value="Prénom" />
			<p:outputLabel
				value="#{newOperationFormulaireController.client.prenom}" />
			<p:outputLabel value="C.I.N." />
			<p:outputLabel
				value="#{newOperationFormulaireController.client.numCin}" />
				
			<p:outputLabel value="Montant Actuel" />
            <p:outputLabel value="#{newOperationFormulaireController.client.solde}"/>

			<p:outputLabel value="Date opération" />
			<p:calendar
				value="#{newOperationFormulaireController.operation.date}" />

			<p:outputLabel value="Type de l'opération" />
			<p:selectOneMenu value="#{newOperationFormulaireController.type}"
				effect="fold">
				<f:selectItem itemLabel="Type de l'Operation" />
				<f:selectItems value="#{newOperationFormulaireController.types}" />
			</p:selectOneMenu>

			<p:commandButton value="Valider" icon="ui-icon-check"
				action="#{newOperationFormulaireController.saveOperation()}" />
			<p:commandButton value="Retour" action="#{newOperationFormulaireController.Retour()}" />

		</h:panelGrid>


	</h:form>
</h:body>
</html>